package com.patterns.factory.method;

import com.patterns.factory.pojo.Shape;
import com.patterns.factory.pojo.Square;

/**
 * @author fwj
 * @date 2020/12/8 17:38
 **/
public class SquareFactory implements ShapeFactory {
    public Shape createShape() {
        return new Square();
    }
}
